//
// Created by Martin on 2021/9/30.
//

#ifndef DESIGNPATTERN_CPP_SMALLYSHOPPROXY_H
#define DESIGNPATTERN_CPP_SMALLYSHOPPROXY_H
#include "IShop.h"

/**
 * 小杂货店代理销售
 */
class SmallYShopProxy : public IShop {
public:
    SmallYShopProxy(IShop *shop) : shop(shop) { }
    // 实体店下单发货
    void sale(std::string order) override;

private:
    IShop *shop;
};


#endif //DESIGNPATTERN_CPP_SMALLYSHOPPROXY_H
